#include('./partial/header.html',{title: '文章归档'})

<div class="main">
		#for(archive : archives)
			<div class="category block">
				<p class="ui ribbon label red">${archive.date_str}
				</p>
			</div>
<!-- 		<div class="categorys-title">${archive.date_str}</div> -->
			#for(article : archive.articles)
				<article class="block post">
					<span class="round-date red">
						<span class="month">${created('MM月')}</span>
						<span class="day">${created('dd')}</span>
					</span>
					<h2 class="title"><a href="${(permalink())}">${title()}</a></h2>
					<div class="article-content red">
						<p>发布于 ${created('yyyy-MM-dd')}</p>
					</div>
				</article>
			#end
        #end
    
        <!--<article class="block">
            <h2 class="header">没有找到内容</h2>
        </article> -->
    

    <div class="lists-navigator clearfix">
        #call pageNav(articles(12),'←','→','page')
    </div>
</div>

#include('./partial/sidebar.html')
#include('./partial/footer.html')
